1   /*
2    * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
3    * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4    *
5    * This code is free software; you can redistribute it and/or modify it
6    * under the terms of the GNU General Public License version 2 only, as
7    * published by the Free Software Foundation.  Oracle designates this
8    * particular file as subject to the "Classpath" exception as provided
9    * by Oracle in the LICENSE file that accompanied this code.
10   *
11   * This code is distributed in the hope that it will be useful, but WITHOUT
12   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13   * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14   * version 2 for more details (a copy is included in the LICENSE file that
15   * accompanied this code).
16   *
17   * You should have received a copy of the GNU General Public License version
18   * 2 along with this work; if not, write to the Free Software Foundation,
19   * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20   *
21   * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22   * or visit www.oracle.com if you need additional information or have any
23   * questions.
24   */
25  
26  package sun.security.util;
27  
28  /**
29   * <p> This class represents the <code>ResourceBundle</code>
30   * for the following packages:
31   *
32   * <ol>
33   * <li> com.sun.security.auth
34   * <li> com.sun.security.auth.login
35   * </ol>
36   *
37   */
38  public class AuthResources_zh_TW extends java.util.ListResourceBundle {
39  
40      private static final Object[][] contents = {
41  
42          // NT principals
43          {"invalid.null.input.value", "\u7121\u6548\u7A7A\u503C\u8F38\u5165: {0}"},
44          {"NTDomainPrincipal.name", "NTDomainPrincipal: {0}"},
45          {"NTNumericCredential.name", "NTNumericCredential: {0}"},
46          {"Invalid.NTSid.value", "\u7121\u6548 NTSid \u503C"},
47          {"NTSid.name", "NTSid: {0}"},
48          {"NTSidDomainPrincipal.name", "NTSidDomainPrincipal: {0}"},
49          {"NTSidGroupPrincipal.name", "NTSidGroupPrincipal: {0}"},
50          {"NTSidPrimaryGroupPrincipal.name", "NTSidPrimaryGroupPrincipal: {0}"},
51          {"NTSidUserPrincipal.name", "NTSidUserPrincipal: {0}"},
52          {"NTUserPrincipal.name", "NTUserPrincipal: {0}"},
53  
54          // UnixPrincipals
55          {"UnixNumericGroupPrincipal.Primary.Group.name",
56                  "UnixNumericGroupPrincipal [\u4E3B\u7FA4\u7D44]: {0}"},
57          {"UnixNumericGroupPrincipal.Supplementary.Group.name",
58                  "UnixNumericGroupPrincipal [\u9644\u52A0\u7FA4\u7D44]: {0}"},
59          {"UnixNumericUserPrincipal.name", "UnixNumericUserPrincipal: {0}"},
60          {"UnixPrincipal.name", "UnixPrincipal: {0}"},
61  
62          // com.sun.security.auth.login.ConfigFile
63          {"Unable.to.properly.expand.config", "\u7121\u6CD5\u9069\u7576\u5730\u64F4\u5145 {0}"},
64          {"extra.config.No.such.file.or.directory.",
65                  "{0} (\u6C92\u6709\u6B64\u6A94\u6848\u6216\u76EE\u9304)"},
66          {"Configuration.Error.No.such.file.or.directory",
67                  "\u7D44\u614B\u932F\u8AA4:\n\t\u7121\u6B64\u6A94\u6848\u6216\u76EE\u9304"},
68          {"Configuration.Error.Invalid.control.flag.flag",
69                  "\u7D44\u614B\u932F\u8AA4:\n\t\u7121\u6548\u7684\u63A7\u5236\u65D7\u6A19\uFF0C{0}"},
70          {"Configuration.Error.Can.not.specify.multiple.entries.for.appName",
71              "\u7D44\u614B\u932F\u8AA4: \n\t\u7121\u6CD5\u6307\u5B9A\u591A\u91CD\u9805\u76EE {0}"},
72          {"Configuration.Error.expected.expect.read.end.of.file.",
73                  "\u7D44\u614B\u932F\u8AA4: \n\t\u9810\u671F\u7684 [{0}], \u8B80\u53D6 [end of file]"},
74          {"Configuration.Error.Line.line.expected.expect.found.value.",
75              "\u7D44\u614B\u932F\u8AA4: \n\t\u884C {0}: \u9810\u671F\u7684 [{1}], \u767C\u73FE [{2}]"},
76          {"Configuration.Error.Line.line.expected.expect.",
77              "\u7D44\u614B\u932F\u8AA4: \n\t\u884C {0}: \u9810\u671F\u7684 [{1}]"},
78          {"Configuration.Error.Line.line.system.property.value.expanded.to.empty.value",
79              "\u7D44\u614B\u932F\u8AA4: \n\t\u884C {0}: \u7CFB\u7D71\u5C6C\u6027 [{1}] \u64F4\u5145\u81F3\u7A7A\u503C"},
80  
81          // com.sun.security.auth.module.JndiLoginModule
82          {"username.","\u4F7F\u7528\u8005\u540D\u7A31: "},
83          {"password.","\u5BC6\u78BC: "},
84  
85          // com.sun.security.auth.module.KeyStoreLoginModule
86          {"Please.enter.keystore.information",
87                  "\u8ACB\u8F38\u5165\u91D1\u9470\u5132\u5B58\u5EAB\u8CC7\u8A0A"},
88          {"Keystore.alias.","\u91D1\u9470\u5132\u5B58\u5EAB\u5225\u540D: "},
89          {"Keystore.password.","\u91D1\u9470\u5132\u5B58\u5EAB\u5BC6\u78BC: "},
90          {"Private.key.password.optional.",
91              "\u79C1\u4EBA\u91D1\u9470\u5BC6\u78BC (\u9078\u64C7\u6027\u7684): "},
92  
93          // com.sun.security.auth.module.Krb5LoginModule
94          {"Kerberos.username.defUsername.",
95                  "Kerberos \u4F7F\u7528\u8005\u540D\u7A31 [{0}]: "},
96          {"Kerberos.password.for.username.",
97                  "Kerberos \u5BC6\u78BC [{0}]: "},
98  
99          /***    EVERYTHING BELOW IS DEPRECATED  ***/
100 
101         // com.sun.security.auth.PolicyFile
102         {".error.parsing.", ": \u5256\u6790\u932F\u8AA4 "},
103         {"COLON", ": "},
104         {".error.adding.Permission.", ": \u65B0\u589E\u6B0A\u9650\u932F\u8AA4 "},
105         {"SPACE", " "},
106         {".error.adding.Entry.", ": \u65B0\u589E\u8F38\u5165\u932F\u8AA4 "},
107         {"LPARAM", "("},
108         {"RPARAM", ")"},
109         {"attempt.to.add.a.Permission.to.a.readonly.PermissionCollection",
110             "\u8A66\u8457\u65B0\u589E\u6B0A\u9650\u81F3\u552F\u8B80\u7684 PermissionCollection"},
111 
112         // com.sun.security.auth.PolicyParser
113         {"expected.keystore.type", "\u9810\u671F\u7684\u91D1\u9470\u5132\u5B58\u5EAB\u985E\u578B"},
114         {"can.not.specify.Principal.with.a.wildcard.class.without.a.wildcard.name",
115                 "\u6C92\u6709\u842C\u7528\u5B57\u5143\u540D\u7A31\uFF0C\u7121\u6CD5\u6307\u5B9A\u542B\u6709\u842C\u7528\u5B57\u5143\u985E\u5225\u7684 Principal"},
116         {"expected.codeBase.or.SignedBy", "\u9810\u671F\u7684 codeBase \u6216 SignedBy"},
117         {"only.Principal.based.grant.entries.permitted",
118                 "\u53EA\u5141\u8A31\u4EE5 Principal \u70BA\u57FA\u790E\u7684\u6388\u6B0A\u9805\u76EE"},
119         {"expected.permission.entry", "\u9810\u671F\u7684\u6B0A\u9650\u9805\u76EE"},
120         {"number.", "\u865F\u78BC "},
121         {"expected.expect.read.end.of.file.",
122                 "\u9810\u671F\u70BA {0}, \u8B80\u53D6\u6A94\u6848\u7D50\u5C3E"},
123         {"expected.read.end.of.file", "\u9810\u671F\u7684 ';'\uFF0C\u8B80\u53D6\u6A94\u6848\u7D50\u5C3E"},
124         {"line.", "\u884C "},
125         {".expected.", ": \u9810\u671F '"},
126         {".found.", "'\uFF0C\u767C\u73FE '"},
127         {"QUOTE", "'"},
128 
129         // SolarisPrincipals
130         {"SolarisNumericGroupPrincipal.Primary.Group.",
131                 "SolarisNumericGroupPrincipal [\u4E3B\u7FA4\u7D44]: "},
132         {"SolarisNumericGroupPrincipal.Supplementary.Group.",
133                 "SolarisNumericGroupPrincipal [\u9644\u52A0\u7FA4\u7D44]: "},
134         {"SolarisNumericUserPrincipal.",
135                 "SolarisNumericUserPrincipal: "},
136         {"SolarisPrincipal.", "SolarisPrincipal: "},
137         // provided.null.name is the NullPointerException message when a
138         // developer incorrectly passes a null name to the constructor of
139         // subclasses of java.security.Principal
140         {"provided.null.name", "\u63D0\u4F9B\u7A7A\u503C\u540D\u7A31"}
141 
142     };
143 
144     /**
145      * Returns the contents of this <code>ResourceBundle</code>.
146      *
147      * <p>
148      *
149      * @return the contents of this <code>ResourceBundle</code>.
150      */
151     public Object[][] getContents() {
152         return contents;
153     }
154 }